*{
    box-sizing: border-box;
    cursor: url(images/176848.png), auto;
}



p, li, h1, h2, h3{
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
}

body{
    background-image: url(images/new\ background\ header.PNG);
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    margin: 5px;
    display: flex;
    justify-content: flex-start;
    padding: 50px;
    
}

.buttonrow{
    display: flex;
    justify-content: flex-start;
    gap: 0.5px;
    flex-wrap: wrap; /* allows them to move to next line on small screens */
    position: absolute;
    top: 80px;
    left: 410px;
}

.buttonrow2{
    display: flex;
    justify-content: flex-start;
    gap: 1px;
    flex-wrap: wrap; /* allows them to move to next line on small screens */
    position: absolute;
    top: 180px;
    left: 510px;
}


.buttoncontainer{
    position: relative;
    display: inline-block;

    width: clamp(150px, 15vw, 250px);
    aspect-ratio: 5 / 4;

    margin: 0;
}


#button1,
#button1hover{
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    gap: 30px;
    justify-content: flex-start;
}

#button1{
    background-image: url(images/gallery\ button.png);
    z-index: 1;
}

#button1hover{
    background-image: url(images/gallery\ button\ hover.png);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.buttoncontainer:hover #button1hover{
    opacity: 1;
}


#button2,
#button2hover{
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    gap: 30px;
    justify-content: center;
}

#button2{
    background-image: url(images/bio\ button.png);
    z-index: 1;
}

#button2hover{
    background-image: url(images/bio\ button\ hover.png);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.buttoncontainer:hover #button2hover{
    opacity: 1;
}


#button3,
#button3hover{
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    gap: 30px;
    justify-content: flex-end;
}

#button3{
    background-image: url(images/sources\ button.png);
    z-index: 1;
}

#button3hover{
    background-image: url(images/sources\ button\ hover.png);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.buttoncontainer:hover #button3hover{
    opacity: 1;
}


#button4,
#button4hover{
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    gap: 30px;
    justify-content: flex-start;
}

#button4{
    background-image: url(images/movmus\ button.png);
    z-index: 1;
}

#button4hover{
    background-image: url(images/movmus\ button\ hover.PNG);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.buttoncontainer:hover #button4hover{
    opacity: 1;
}


#button5,
#button5hover{
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    gap: 30px;
    justify-content: flex-start;
}

#button5{
    background-image: url(images/button.PNG);
    z-index: 1;
}

#button5hover{
    background-image: url(images/button\ press.PNG);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.buttoncontainer:hover #button5hover{
    opacity: 1;
}

.ytextboxes{
    position: absolute;
    width: 300px; /* image size */

    top: 350px;
    left: 710px;
}

.ytextboxes2{
    position: absolute;
    width: 400px; /* image size */

    top: 550px;
    left: -340px;
}

.ytextboxes2 img{
    width: 100%;
    display: block;
    transform: rotate(90deg);
}

.ytextboxes img{
    width: 100%;
    display: block;
}

.textsmallyellow{
    position: absolute;

    top: 10px;
    left: 20px;

    color: black;
    font-size: 15px;
    font-weight: bold;

    width: 240px;

    padding: 10px;

    text-align: left;

    word-wrap: break-word;
    overflow-wrap: break-word;

    display: inline-block;

    background: rgba(255, 255, 0, 0);
    border-radius: 8px;
}

.textbigyellow{
    position: absolute;

    top: -20px;
    left: 90px;

    color: black;
    font-size: 15px;
    font-weight: bold;

    width: 205px;


    padding: 10px;

    text-align: left;

    word-wrap: break-word;
    overflow-wrap: break-word;

    display: inline-block;

    background: rgba(255, 255, 0, 0);
    border-radius: 8px;
}

.bluebox{
    position: absolute;
    width: 450px; /* image size */

    top: 610px;
    left: -210px;
}

.bluebox img{
    width: 100%;
    display: block;
    transform: rotate(90deg);
}

.blueboxtext{
    position: absolute;

    top: 260px;
    left: -20px;

    color: rgb(2, 6, 92);
    font-size: 15px;
    font-weight: bold;

    width: 490px;


    padding: 10px;

    text-align: left;

    word-wrap: break-word;
    overflow-wrap: break-word;

    display: inline-block;

    background: rgba(0, 153, 255, 0);
    border-radius: 8px;
}

.newsbox{
    width: 700px;
    height: 40px;
    overflow: hidden;
    border: 2px solid rgb(0, 0, 0);
    display: flex;
    align-items: center;
    background: rgb(0, 0, 0);

    font-family: "Sixtyfour", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "BLED" 0,
        "SCAN" 0;


    position: absolute;

    top: 1010px;
    left: -350px;
    
}

.news-text{
    white-space: nowrap;
    display: inline-block;
    animation: scrollText 20s linear infinite;
    color: #ffffff;
}

@keyframes scrollText{
    0%{
        transform: translateX(100%);
    }
    100%{
        transform: translateX(-100%);
    }
}

/* This is to move the music player*/
iframe {
    position: absolute;
    top: 600px;
    left: 450px;
}

table{
    position: absolute;
    background-color: #ffffff;
    border: solid, rgb(139, 139, 221);
    left: 700px;
    width: 290px;

    top: 870px
    

}

th{
    text-align: left;
    background-color: rgb(139, 139, 221);
   
    
   
}

td{
    text-align: left;
    background-color: rgb(185, 233, 217);
}

.blinkies{
    position: absolute;
    height: auto;
    top: 1410px;
    left: 430px;

    width: clamp(570px, 15vw, 250px);
    aspect-ratio: 5 / 1;

    margin: 0;
    
}



.mepic{
    position: absolute;
    height: auto;
    width: 500px;
    top: 270px;
    left: 310px;
}

/* shake on hover */
.mepic:hover{
    animation: shake 0.3s infinite;
}

@keyframes shake{
    0%   { transform: translateX(0px) rotate(0deg); }
    25%  { transform: translateX(-2px) rotate(-1deg); }
    50%  { transform: translateX(2px) rotate(1deg); }
    75%  { transform: translateX(-2px) rotate(-1deg); }
    100% { transform: translateX(0px) rotate(0deg); }
}

main{
    margin: 20px;
    
}

header img{
    position: relative;
    transform: translate( 50%, -50%);
   width: 650px;
    
}

.counter{
    position: relative;
    
}


.backppl{
    position: absolute; 
    top: 75px;
    left: 30px;
    width: 1400px;
     
}
.container{
    position: absolute;
    top: 70px;
    left: 340px;
    width: 700px;
}

.text{
    position: absolute;

}

#text1{
    position: absolute;

}

h1{
    color: rgb(0, 0, 0);
    border: 6px;
    margin: 9px;
}

#p1{
    color: rgb(0, 0, 0);
    margin: 5px;
}
